package com.hkfg.domain;


/*
* 留言类
*
* */
public class Moment {
    private Integer id;
    private String content;
    private String createtime;
    private String updatetime;
    private Integer senderId;
    private Integer receiverId;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getContent(){return content;}

    public void setContent(String content){this.content = content;}

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }

    public String getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(String updatetime) {
        this.updatetime = updatetime;
    }

    public Integer getSenderId() {
        return senderId;
    }

    public void setSenderId(Integer senderId) {
        this.senderId = senderId;
    }

    public Integer getReceiverId() {
        return receiverId;
    }

    public void setReceiverId(Integer receiverId) {
        this.receiverId = receiverId;
    }

    @Override
    public String toString(){
        return "Moment{" + "id=" + id +
                ", content='" + content + '\'' +
                ", createtime='" + createtime + '\'' +
                ", updatetime='" + updatetime + '\'' +
                ", senderID='" + senderId + '\'' +
                ", receiverID=" + receiverId +
                '}';
    }
}
